package com.tuomaxu.core;

import com.tuomaxu.config.Configuration;
import com.tuomaxu.config.MappedStatement;

import java.beans.IntrospectionException;
import java.sql.SQLException;
import java.util.List;

public interface Executor {
    public <E> List<E> query(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;
    public void execute(Configuration configuration, MappedStatement mappedStatement, Object... params) throws Exception;
}
